Platform Explorer / Nuxeo Platform 2021.7

Component org.nuxeo.ecm.diff.service.DiffDisplayService.contrib

Resolution Order

158
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.diff.service.DiffDisplayService.contrib">

  <extension target="org.nuxeo.ecm.diff.service.DiffDisplayService"
    point="diffDefaultDisplay">

    <diffExcludedFields schema="common" />

  </extension>

  <extension target="org.nuxeo.ecm.diff.service.DiffDisplayService"
    point="diffDisplay">

    <diffDisplay type="Folder">
      <diffBlocks>
        <diffBlock name="dublincore" />
      </diffBlocks>
    </diffDisplay>

    <diffDisplay type="File">
      <diffBlocks>
        <diffBlock name="dublincore" />
        <diffBlock name="files" />
      </diffBlocks>
    </diffDisplay>

    <diffDisplay type="Note">
      <diffBlocks>
        <diffBlock name="dublincore" />
        <diffBlock name="note" />
        <diffBlock name="files" />
      </diffBlocks>
    </diffDisplay>

  </extension>

  <extension target="org.nuxeo.ecm.diff.service.DiffDisplayService"
    point="diffBlock">

    <diffBlock name="dublincore">
      <properties mode="any">
        <property name="label">label.diffBlock.dublincore</property>
      </properties>
      <fields>
        <field schema="dublincore" name="description" />
        <!-- Display the "dam_common" schema fields in case the DAM package
          is installed -->
        <field schema="dam_common" name="author" />
        <field schema="dam_common" name="authoringDate" />
        <field schema="dublincore" name="nature" />
        <field schema="dublincore" name="subjects" />
        <field schema="dublincore" name="rights" />
        <field schema="dublincore" name="source" />
        <field schema="dublincore" name="coverage" />
        <field schema="dublincore" name="created" />
        <field schema="dublincore" name="modified" />
        <field schema="dublincore" name="format" />
        <field schema="dublincore" name="language" />
        <field schema="dublincore" name="expired" />
        <field schema="dublincore" name="creator" />
        <field schema="dublincore" name="contributors" />
        <field schema="dublincore" name="lastContributor" />
      </fields>
      <templates>
        <template mode="any">/layouts/layout_diff_template.xhtml
        </template>
      </templates>
    </diffBlock>

    <diffBlock name="files">
      <properties mode="any">
        <property name="label">label.diffBlock.files</property>
      </properties>
      <fields>
        <field schema="file" name="content"
          displayContentDiffLinks="true" />
        <field schema="files" name="files">
          <items>
            <!-- Display the file only, not the filename which is managed
              by the file widget type -->
            <item name="file" displayContentDiffLinks="true" />
          </items>
        </field>
      </fields>
      <templates>
        <template mode="any">/layouts/layout_diff_template.xhtml
        </template>
      </templates>
    </diffBlock>

    <diffBlock name="note">
      <properties mode="any">
        <property name="label">label.diffBlock.note</property>
      </properties>
      <fields>
        <field schema="note" name="note" displayContentDiffLinks="true" />
      </fields>
      <templates>
        <template mode="any">/layouts/layout_diff_template.xhtml
        </template>
      </templates>
    </diffBlock>

  </extension>

</component>